//
//  LUTFilter.swift
//  WatermarkCamera
//
//  Created by Python on 2024/7/26.
//

import UIKit

class LUTFilter: BaseFilter {
    
    override var gpuFilter: WCGPUImageFilter {
        return _gpuFilter
    }
    
    private let lutImage: UIImage
    
    init(lutImage: UIImage) {
        self.lutImage = lutImage
        super.init()
    }
    
    private lazy var _gpuFilter: GPUImageLUTFilter = {
        let filter = GPUImageLUTFilter(lutImage: lutImage)
        return filter ?? .init()
    }()
}
